import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import _ from 'lodash'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import './assets/css/global.scss'
import './assets/font/iconfont.css'
import WebSocket from '@/utils/webSocket_server'
WebSocket.Instance.connect()

axios.defaults.baseURL = 'http://127.0.0.1:8888/api'

Vue.prototype.$http = axios
Vue.config.productionTip = false
Vue.use(_)
Vue.use(ElementUI)

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
